//package com.api.devices.domain.vo.tree;
//
//import com.api.common.config.ApiConfig;
//import com.fasterxml.jackson.annotation.JsonFormat;
//import lombok.Getter;
//import lombok.Setter;
//
//import java.util.Date;
//
//@Getter
//@Setter
//public class TreeVo_bk {
//    private Long lineId;
//    private String lineName;
//    private Long ipcId;
//    private String ipcName;
//    private String ipcCode;
//    private Long robotId;
//    private String robotName;
//    private String robotCode;
//    private Long elementId;
//    private String elementName;
//    private String elementCode;
//    private String datCol;
//    private String datColName;
//    private String appLang;
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private Date startTime;
//    private Double startTimestamp;
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private Date endTime;
//    private Double endTimestamp;
//    private int pageSize;
//    private int pageNum;
//
//    public void setStartTime(Date startTime) {
//        this.startTime = startTime;
//        this.startTimestamp = (double) startTime.getTime();
//    }
//
//    public void setEndTime(Date endTime) {
//        this.endTime = endTime;
//        this.endTimestamp = (double) endTime.getTime();
//    }
//
//    public String getResourceTabName() {
//        return ApiConfig.getTenant() + "_" + this.ipcCode + "_resource";
//    }
//
//    public String getIntergrationTabName(String dateType, String endCode) {
////        return ApiConfig.getTenant() + "_" + this.ipcCode
////                + "_" + dateType
////                + "_" + this.robotCode
////                + "_" + this.elementCode
////                + "_" + endCode
////                + "_tracing_intergration";
//        return ApiConfig.getTenant() + "_" + this.ipcCode
//                + "_" + this.robotCode
//                + "_" + this.elementCode
//                + "_" + endCode
//                + "_tracing_intergration";
//    }
//
//    public String getEvaluationTabName(String dateType, String endCode) {
////        return ApiConfig.getTenant() + "_" + this.ipcCode
////                + "_" + dateType
////                + "_" + this.robotCode
////                + "_" + this.elementCode
////                + "_" + endCode
////                + "_tracing_evaluation";
//        return ApiConfig.getTenant() + "_" + this.ipcCode
//                + "_" + this.robotCode
//                + "_" + this.elementCode
//                + "_" + endCode
//                + "_tracing_evaluation";
//    }
//
//    public String getSerializationTabName(String dateType, String endCode) {
////        return ApiConfig.getTenant() + "_" + this.ipcCode
////                + "_" + dateType
////                + "_" + this.robotCode
////                + "_" + this.elementCode
////                + "_" + endCode
////                + "_tracing_serialization";
//        return ApiConfig.getTenant() + "_" + this.ipcCode
//                + "_" + this.robotCode
//                + "_" + this.elementCode
//                + "_" + endCode
//                + "_tracing_serialization";
//    }
//}
